
#include <BDragEvent>
#include "member_BEvent.h"

using namespace BWE;

BDragEvent::BDragEvent() : BMouseEvent(Event_None)
{
	event_member(this)->wheel = 0;
	event_member(this)->button = Button_None;
}
BDragEvent::~BDragEvent()
{

}

void BDragEvent::setDrag(BDrag* drag)
{
	event_member(this)->drag = drag;
}
BDrag* BDragEvent::drag() const
{
	return event_member(this)->drag;
}

void BDragEvent::setCursor(BCursor* cursor)
{
	event_member(this)->drag_cursor = cursor;
}
BCursor* BDragEvent::cursor()
{
	return event_member(this)->drag_cursor;
}

void BDragEvent::setTips(const BString& tips)
{
	event_member(this)->drag_tips = tips;
}
const BString& BDragEvent::tips() const
{
	return event_member(this)->drag_tips;
}
